package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter@Setter
public class TrainPlanItem {
    private Long id;

    private Department dept;

    private String name;

    private String type;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date reserveDate;

    private Integer duration;

    private String remark;

    private TrainPlan trainPlan;

    private Employee employee;

}